
MAPinstall:
	@./install

clean:
#	@for dir in `ls -d */` ; do cd $$dir ; if [ -d model ] ; then cd model ; make cleanall ; cd ../.. ; else cd ..; fi; done
	@cd MAP1d ; make -f Makefile.clean
	@cd MAP2d ; make -f Makefile.clean
	@cd MAP3d ; make -f Makefile.clean
#	@for dir in `ls -d */` ; do cd $$dir ; if [ -d model ] ; then cd model ; rm idllib maplib; cd ../.. ; else cd ..; fi; done
#	@for dir in `ls -d */` ; do cd $$dir ; if [ -d model ] ; then cd model ; sed -i '38a \   thr_al = 0.5d0' parameters ; cd ../.. ; else cd ..; fi; done
	@echo
	@echo Clean total completed!
